SftTree/OCX 7.0

SftTree.MouseLeaveControl Event

Softel vdm, Inc.

The mouse cursor is leaving the control.

Syntax       

VB.NET

Private Sub object_MouseLeaveControl(ByVal sender As Object, ByVal e As EventArgumentType) Handles object.MouseLeaveControl

VB

Private Sub object_MouseLeaveControl()

C#.NET

void object_MouseLeaveControl(object sender, EventArgumentType e);

VC++

void OnMouseLeaveControlobject();

C

HRESULT OnMouseLeaveControlobject();

Delphi

procedure objectMouseLeaveControl(Sender: TObject);

object

A SftTreeEvents object.

Comments

The MouseLeaveControl event occurs when the mouse cursor is leaving the control.

Many containers such as .NET provide their own events which signal that the mouse cursor is entering or leaving the control. For containers where such a facility is not available, the MouseEnterControl and MouseLeaveControl events can be used instead. It is preferable to use events or mechanisms offered by the container rather than the MouseEnterControl and MouseLeaveControl events.

Updating control properties or changing the input focus to another control while handling this event is not supported.

When the mouse cursor enters the control, the MouseEnterControl event occurs.

See Also  SftTreeEvents Object | Object Hierarchy


Feedback / comments / error reports for this topic
© 2015 - Softel vdm, Inc. - www.softelvdm.com